@layout("/common/_container.html",{plugins:["ztree"],js:["/assets/modular/system/robot/robot_config.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title"> 提示：撮合引擎说明，撮合对象为账号时，机器人1对1撮合，撮合对象为 -1 时，机器人全站撮合，币种交易对随意添加</span>
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-xs12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <input id="name" class="layui-input" type="text" placeholder="名称"/>
                            </div>
                            <div class="layui-inline">
                                <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>

                                <button id="btnAdd" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>添加</button>


                            </div>
                        </div>
                    </div>
                    <table class="layui-table" id="configTable" lay-filter="configTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="tableBar">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
</script>
<script type="text/html" id="statusTpl">
    <input type="checkbox" lay-filter="status" value="{{d.robotId}}" lay-skin="switch" lay-text="开启|关闭" {{d.status=='0'?'checked':''}} />
</script>
<script type="text/html" id="tradeModeTpl">
    <input type="text" lay-filter="tradeMode" value="{{d.robotId}}" lay-skin="switch"  aria-valuetext= />
</script>
@}
